<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@ page import="app.projeto.entity.Usuario" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Gerenciamento de projetos</title>
	<link rel="stylesheet" type="text/css" href="./css/style.css" />
	<link rel="stylesheet" type="text/css" href="./css/layout.css" />
</head>
<% 
	Usuario usuario = (Usuario) request.getSession().getAttribute("usuarioLogado");
	String nomeUsuario = (usuario == null) ? "" : usuario.getNome();
%>


<body class="wireframe backend">
	<div id="externa" style="width:100%;">

		<header id="header">
			<hgroup>
				
				<h2 class="section_title" style="width:84%;">Gerenciador de Projetos</h2>
				<h1 class="site_title" style="width:14%;">
					<span class="icon" style="float:left;margin-top:13px;"><img src="./img/user_24.png"></span>
					<span style="font-size: 14px; font-weight: bold;float:left;margin-top:3px;"><%=nomeUsuario %></span>
					<a href="javascript:execute('Usuario','logout', '');">
						<span style="font-size: 12px;">Sair</span>
					</a>					
				</h1>
			</hgroup>
		</header> <!-- end of header bar -->		
		
		
		<div id="wireframe_menu">
			<%@ include file="menu.jsp"%>
		</div>	
<!-- 	<div id="container" >			 -->
		<div id="todoconteudo" style="float:left;height: 100%;">
			<div id="wireframe_content">					
				<div style="width: 100%; height: 100%; float:left;">
					<iframe scrolling="auto" id="main" name="main" style="width:100%; height:100%;" frameborder="0" src="bemvindo.html"> </iframe>			
				</div>
			</div>
		</div>
<!-- 	</div> -->
	</div>
</body>
</html>

<%@ include file="../message.jsp"%>